package com.tbk.wechatbot.config;

import com.tbk.wechatbot.robot.TpwdRobot;
import io.github.biezhi.wechat.api.constant.Config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RobotConfiguration {

    @Bean
    public TpwdRobot tpwdRobot() {
        return new TpwdRobot(Config.me().autoLogin(true).showTerminal(true));
    }


}
